Skip to content

Conversation

@bencap
Copy link
Collaborator

@bencap bencap commented Oct 22, 2024

Changes include:

  • A new active property within the database that indicates whether a license is active
  • The associated DB migration
  • A new active property on License view models to persist this property in API responses
  • Tests for the license router
  • Tests for (1) creating score sets with an invalid license (2) modifying a score set to have an invalid license, and (3) modifying a score set which has an in-active license is possible

Changes include:
- A new `active` property within the database that indicates whether a license is active
- The associated DB migration
- A new `active` property on License view models to persist this property in API responses
- Tests for the license router
- Tests for (1) creating score sets with an invalid license (2) modifying a score set to have
an invalid license, and (3) modifying a score set which has an in-active license is possible
Copy link
Collaborator

@jstone-dev jstone-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any need to allow a superseding score set to retain the deprecated license of the score set it supersedes / corrects?

Beside that, no comments; this looks good to me.

(I also wonder whether any restrictions need to be placed on licenses for meta-analyses, but the question is independent of the current changes.)

@bencap
Copy link
Collaborator Author

bencap commented Nov 18, 2024

Is there any need to allow a superseding score set to retain the deprecated license of the score set it supersedes / corrects?

Beside that, no comments; this looks good to me.

(I also wonder whether any restrictions need to be placed on licenses for meta-analyses, but the question is independent of the current changes.)

@jstone-dev I just checked the database and the current score sets with a superseding score set are all licensed by licenses which will not be deprecated. So I'm not too worried about current score sets. I'll add a backlog item for this so it doesn't disappear as an issue though.

@bencap bencap merged commit 385a956 into release-2024.4.2 Nov 19, 2024
5 checks passed
@bencap bencap deleted the maintenance/bencap/74/update-permitted-licenses branch November 19, 2024 19:20
@bencap bencap mentioned this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating permitted data licenses

3 participants